﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace LunarSF.SHomeWorkshop.LunarMarkdownEditor
{
    /// <summary>
    /// 适合 Python 脚本添加自定义顶层菜单项。易于保持风格一致。
    /// </summary>
    public class LTopMenuItem : MenuItem
    {
        public LTopMenuItem()
        {
            Style = TryFindResource("MetroMenuItem") as Style;
            Margin = new System.Windows.Thickness(0, 2, 0, 2);
            Foreground = Brushes.White;
            Background = Brushes.Transparent;
        }
    }
}
